package com.bys.system.mapper;

import com.bys.system.model.SysDeptModel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bys.system.vo.SysDeptVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* <p>
    * 组织机构 Mapper 接口
    * </p>
*
* @author bys
* @since 2023-03-31
*/
public interface SysDeptMapper extends BaseMapper<SysDeptModel> {

    List<SysDeptVo> selectAllDeptTree(@Param("id") Long id);
}
